﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _80方法重载
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            Console.WriteLine(3f);
        }

        private static int Add(int a, int b)
        {
            return a + b;
        }

        private static float Add(float a, float b)
        {
            return a + b;
        }

        private static double Add(double a, double b)
        {
            return a + b;
        }

        private static int Add(ref int a, ref int b)
        {
            return a + b;
        }
    }
}